3.7.11 \(\int \frac {\sqrt {d+e x}}{\sqrt {f+g x} (a+c x^2)} \, dx\) [611]

Optimal. Leaf size=240 \[ \frac {\sqrt {\sqrt {c} d-\sqrt {-a} e} \tanh ^{-1}\left (\frac {\sqrt {\sqrt {c} f-\sqrt {-a} g} \sqrt {d+e x}}{\sqrt {\sqrt {c} d-\sqrt {-a} e} \sqrt {f+g x}}\right )}{\sqrt {-a} \sqrt {c} \sqrt {\sqrt {c} f-\sqrt {-a} g}}-\frac {\sqrt {\sqrt {c} d+\sqrt {-a} e} \tanh ^{-1}\left (\frac {\sqrt {\sqrt {c} f+\sqrt {-a} g} \sqrt {d+e x}}{\sqrt {\sqrt {c} d+\sqrt {-a} e} \sqrt {f+g x}}\right )}{\sqrt {-a} \sqrt {c} \sqrt {\sqrt {c} f+\sqrt {-a} g}} \]

[Out]

arctanh((e*x+d)^(1/2)*(-g*(-a)^(1/2)+f*c^(1/2))^(1/2)/(g*x+f)^(1/2)/(-e*(-a)^(1/2)+d*c^(1/2))^(1/2))*(-e*(-a)^
(1/2)+d*c^(1/2))^(1/2)/(-a)^(1/2)/c^(1/2)/(-g*(-a)^(1/2)+f*c^(1/2))^(1/2)-arctanh((e*x+d)^(1/2)*(g*(-a)^(1/2)+
f*c^(1/2))^(1/2)/(g*x+f)^(1/2)/(e*(-a)^(1/2)+d*c^(1/2))^(1/2))*(e*(-a)^(1/2)+d*c^(1/2))^(1/2)/(-a)^(1/2)/c^(1/
2)/(g*(-a)^(1/2)+f*c^(1/2))^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.21, antiderivative size = 240, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 3, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.107, Rules used = {924, 95, 214} \begin {gather*} \frac {\sqrt {\sqrt {c} d-\sqrt {-a} e} \tanh ^{-1}\left (\frac {\sqrt {d+e x} \sqrt {\sqrt {c} f-\sqrt {-a} g}}{\sqrt {f+g x} \sqrt {\sqrt {c} d-\sqrt {-a} e}}\right )}{\sqrt {-a} \sqrt {c} \sqrt {\sqrt {c} f-\sqrt {-a} g}}-\frac {\sqrt {\sqrt {-a} e+\sqrt {c} d} \tanh ^{-1}\left (\frac {\sqrt {d+e x} \sqrt {\sqrt {-a} g+\sqrt {c} f}}{\sqrt {f+g x} \sqrt {\sqrt {-a} e+\sqrt {c} d}}\right )}{\sqrt {-a} \sqrt {c} \sqrt {\sqrt {-a} g+\sqrt {c} f}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Sqrt[d + e*x]/(Sqrt[f + g*x]*(a + c*x^2)),x]

[Out]

(Sqrt[Sqrt[c]*d - Sqrt[-a]*e]*ArcTanh[(Sqrt[Sqrt[c]*f - Sqrt[-a]*g]*Sqrt[d + e*x])/(Sqrt[Sqrt[c]*d - Sqrt[-a]*
e]*Sqrt[f + g*x])])/(Sqrt[-a]*Sqrt[c]*Sqrt[Sqrt[c]*f - Sqrt[-a]*g]) - (Sqrt[Sqrt[c]*d + Sqrt[-a]*e]*ArcTanh[(S
qrt[Sqrt[c]*f + Sqrt[-a]*g]*Sqrt[d + e*x])/(Sqrt[Sqrt[c]*d + Sqrt[-a]*e]*Sqrt[f + g*x])])/(Sqrt[-a]*Sqrt[c]*Sq
rt[Sqrt[c]*f + Sqrt[-a]*g])

Rule 95

Int[(((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_))/((e_.) + (f_.)*(x_)), x_Symbol] :> With[{q = Denomin
ator[m]}, Dist[q, Subst[Int[x^(q*(m + 1) - 1)/(b*e - a*f - (d*e - c*f)*x^q), x], x, (a + b*x)^(1/q)/(c + d*x)^
(1/q)], x]] /; FreeQ[{a, b, c, d, e, f}, x] && EqQ[m + n + 1, 0] && RationalQ[n] && LtQ[-1, m, 0] && SimplerQ[
a + b*x, c + d*x]

Rule 214

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-a/b, 2]/a)*ArcTanh[x/Rt[-a/b, 2]], x] /; FreeQ[{a, b},
x] && NegQ[a/b]

Rule 924

Int[((d_.) + (e_.)*(x_))^(m_)/(Sqrt[(f_.) + (g_.)*(x_)]*((a_.) + (c_.)*(x_)^2)), x_Symbol] :> Int[ExpandIntegr
and[1/(Sqrt[d + e*x]*Sqrt[f + g*x]), (d + e*x)^(m + 1/2)/(a + c*x^2), x], x] /; FreeQ[{a, c, d, e, f, g}, x] &
& NeQ[c*d^2 + a*e^2, 0] && IGtQ[m + 1/2, 0]

Rubi steps

\begin {align*} \int \frac {\sqrt {d+e x}}{\sqrt {f+g x} \left (a+c x^2\right )} \, dx &=\int \left (\frac {\sqrt {-a} d-\frac {a e}{\sqrt {c}}}{2 a \left (\sqrt {-a}-\sqrt {c} x\right ) \sqrt {d+e x} \sqrt {f+g x}}+\frac {\sqrt {-a} d+\frac {a e}{\sqrt {c}}}{2 a \left (\sqrt {-a}+\sqrt {c} x\right ) \sqrt {d+e x} \sqrt {f+g x}}\right ) \, dx\\ &=\frac {1}{2} \left (\frac {a d}{(-a)^{3/2}}-\frac {e}{\sqrt {c}}\right ) \int \frac {1}{\left (\sqrt {-a}-\sqrt {c} x\right ) \sqrt {d+e x} \sqrt {f+g x}} \, dx+\frac {1}{2} \left (\frac {a d}{(-a)^{3/2}}+\frac {e}{\sqrt {c}}\right ) \int \frac {1}{\left (\sqrt {-a}+\sqrt {c} x\right ) \sqrt {d+e x} \sqrt {f+g x}} \, dx\\ &=\left (\frac {a d}{(-a)^{3/2}}-\frac {e}{\sqrt {c}}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {c} d+\sqrt {-a} e-\left (\sqrt {c} f+\sqrt {-a} g\right ) x^2} \, dx,x,\frac {\sqrt {d+e x}}{\sqrt {f+g x}}\right )+\left (\frac {a d}{(-a)^{3/2}}+\frac {e}{\sqrt {c}}\right ) \text {Subst}\left (\int \frac {1}{-\sqrt {c} d+\sqrt {-a} e-\left (-\sqrt {c} f+\sqrt {-a} g\right ) x^2} \, dx,x,\frac {\sqrt {d+e x}}{\sqrt {f+g x}}\right )\\ &=\frac {\sqrt {\sqrt {c} d-\sqrt {-a} e} \tanh ^{-1}\left (\frac {\sqrt {\sqrt {c} f-\sqrt {-a} g} \sqrt {d+e x}}{\sqrt {\sqrt {c} d-\sqrt {-a} e} \sqrt {f+g x}}\right )}{\sqrt {-a} \sqrt {c} \sqrt {\sqrt {c} f-\sqrt {-a} g}}-\frac {\sqrt {\sqrt {c} d+\sqrt {-a} e} \tanh ^{-1}\left (\frac {\sqrt {\sqrt {c} f+\sqrt {-a} g} \sqrt {d+e x}}{\sqrt {\sqrt {c} d+\sqrt {-a} e} \sqrt {f+g x}}\right )}{\sqrt {-a} \sqrt {c} \sqrt {\sqrt {c} f+\sqrt {-a} g}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 10.26, size = 229, normalized size = 0.95 \begin {gather*} \frac {\frac {\sqrt {-\sqrt {c} d+\sqrt {-a} e} \tanh ^{-1}\left (\frac {\sqrt {-\sqrt {c} f+\sqrt {-a} g} \sqrt {d+e x}}{\sqrt {-\sqrt {c} d+\sqrt {-a} e} \sqrt {f+g x}}\right )}{\sqrt {-\sqrt {c} f+\sqrt {-a} g}}-\frac {\sqrt {\sqrt {c} d+\sqrt {-a} e} \tanh ^{-1}\left (\frac {\sqrt {\sqrt {c} f+\sqrt {-a} g} \sqrt {d+e x}}{\sqrt {\sqrt {c} d+\sqrt {-a} e} \sqrt {f+g x}}\right )}{\sqrt {\sqrt {c} f+\sqrt {-a} g}}}{\sqrt {-a} \sqrt {c}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[d + e*x]/(Sqrt[f + g*x]*(a + c*x^2)),x]

[Out]

((Sqrt[-(Sqrt[c]*d) + Sqrt[-a]*e]*ArcTanh[(Sqrt[-(Sqrt[c]*f) + Sqrt[-a]*g]*Sqrt[d + e*x])/(Sqrt[-(Sqrt[c]*d) +
 Sqrt[-a]*e]*Sqrt[f + g*x])])/Sqrt[-(Sqrt[c]*f) + Sqrt[-a]*g] - (Sqrt[Sqrt[c]*d + Sqrt[-a]*e]*ArcTanh[(Sqrt[Sq
rt[c]*f + Sqrt[-a]*g]*Sqrt[d + e*x])/(Sqrt[Sqrt[c]*d + Sqrt[-a]*e]*Sqrt[f + g*x])])/Sqrt[Sqrt[c]*f + Sqrt[-a]*
g])/(Sqrt[-a]*Sqrt[c])

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(1386\) vs. \(2(176)=352\).
time = 0.07, size = 1387, normalized size = 5.78

method result size
default \(\frac {\sqrt {e x +d}\, \sqrt {g x +f}\, \left (\sqrt {\frac {\sqrt {-a c}\, d g +\sqrt {-a c}\, e f -a e g +c d f}{c}}\, \ln \left (\frac {c d g x +c e f x -2 \sqrt {-a c}\, e g x +2 c d f +2 \sqrt {\left (e x +d \right ) \left (g x +f \right )}\, \sqrt {-\frac {\sqrt {-a c}\, d g +\sqrt {-a c}\, e f +a e g -c d f}{c}}\, c -\sqrt {-a c}\, d g -\sqrt {-a c}\, e f}{c x +\sqrt {-a c}}\right ) a c d \,g^{2}-\sqrt {\frac {\sqrt {-a c}\, d g +\sqrt {-a c}\, e f -a e g +c d f}{c}}\, \sqrt {-a c}\, \ln \left (\frac {c d g x +c e f x -2 \sqrt {-a c}\, e g x +2 c d f +2 \sqrt {\left (e x +d \right ) \left (g x +f \right )}\, \sqrt {-\frac {\sqrt {-a c}\, d g +\sqrt {-a c}\, e f +a e g -c d f}{c}}\, c -\sqrt {-a c}\, d g -\sqrt {-a c}\, e f}{c x +\sqrt {-a c}}\right ) a e \,g^{2}+\sqrt {\frac {\sqrt {-a c}\, d g +\sqrt {-a c}\, e f -a e g +c d f}{c}}\, \ln \left (\frac {c d g x +c e f x -2 \sqrt {-a c}\, e g x +2 c d f +2 \sqrt {\left (e x +d \right ) \left (g x +f \right )}\, \sqrt {-\frac {\sqrt {-a c}\, d g +\sqrt {-a c}\, e f +a e g -c d f}{c}}\, c -\sqrt {-a c}\, d g -\sqrt {-a c}\, e f}{c x +\sqrt {-a c}}\right ) c^{2} d \,f^{2}-\sqrt {\frac {\sqrt {-a c}\, d g +\sqrt {-a c}\, e f -a e g +c d f}{c}}\, \sqrt {-a c}\, \ln \left (\frac {c d g x +c e f x -2 \sqrt {-a c}\, e g x +2 c d f +2 \sqrt {\left (e x +d \right ) \left (g x +f \right )}\, \sqrt {-\frac {\sqrt {-a c}\, d g +\sqrt {-a c}\, e f +a e g -c d f}{c}}\, c -\sqrt {-a c}\, d g -\sqrt {-a c}\, e f}{c x +\sqrt {-a c}}\right ) c e \,f^{2}-\sqrt {-\frac {\sqrt {-a c}\, d g +\sqrt {-a c}\, e f +a e g -c d f}{c}}\, \ln \left (\frac {2 \sqrt {-a c}\, e g x +c d g x +c e f x +\sqrt {-a c}\, d g +\sqrt {-a c}\, e f +2 \sqrt {\left (e x +d \right ) \left (g x +f \right )}\, \sqrt {\frac {\sqrt {-a c}\, d g +\sqrt {-a c}\, e f -a e g +c d f}{c}}\, c +2 c d f}{c x -\sqrt {-a c}}\right ) a c d \,g^{2}-\sqrt {-\frac {\sqrt {-a c}\, d g +\sqrt {-a c}\, e f +a e g -c d f}{c}}\, \sqrt {-a c}\, \ln \left (\frac {2 \sqrt {-a c}\, e g x +c d g x +c e f x +\sqrt {-a c}\, d g +\sqrt {-a c}\, e f +2 \sqrt {\left (e x +d \right ) \left (g x +f \right )}\, \sqrt {\frac {\sqrt {-a c}\, d g +\sqrt {-a c}\, e f -a e g +c d f}{c}}\, c +2 c d f}{c x -\sqrt {-a c}}\right ) a e \,g^{2}-\sqrt {-\frac {\sqrt {-a c}\, d g +\sqrt {-a c}\, e f +a e g -c d f}{c}}\, \ln \left (\frac {2 \sqrt {-a c}\, e g x +c d g x +c e f x +\sqrt {-a c}\, d g +\sqrt {-a c}\, e f +2 \sqrt {\left (e x +d \right ) \left (g x +f \right )}\, \sqrt {\frac {\sqrt {-a c}\, d g +\sqrt {-a c}\, e f -a e g +c d f}{c}}\, c +2 c d f}{c x -\sqrt {-a c}}\right ) c^{2} d \,f^{2}-\sqrt {-\frac {\sqrt {-a c}\, d g +\sqrt {-a c}\, e f +a e g -c d f}{c}}\, \sqrt {-a c}\, \ln \left (\frac {2 \sqrt {-a c}\, e g x +c d g x +c e f x +\sqrt {-a c}\, d g +\sqrt {-a c}\, e f +2 \sqrt {\left (e x +d \right ) \left (g x +f \right )}\, \sqrt {\frac {\sqrt {-a c}\, d g +\sqrt {-a c}\, e f -a e g +c d f}{c}}\, c +2 c d f}{c x -\sqrt {-a c}}\right ) c e \,f^{2}\right )}{2 \sqrt {\left (e x +d \right ) \left (g x +f \right )}\, \left (g \sqrt {-a c}+c f \right ) \sqrt {-a c}\, \sqrt {\frac {\sqrt {-a c}\, d g +\sqrt {-a c}\, e f -a e g +c d f}{c}}\, \left (c f -g \sqrt {-a c}\right ) \sqrt {-\frac {\sqrt {-a c}\, d g +\sqrt {-a c}\, e f +a e g -c d f}{c}}}\) \(1387\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((e*x+d)^(1/2)/(c*x^2+a)/(g*x+f)^(1/2),x,method=_RETURNVERBOSE)

[Out]

1/2*(e*x+d)^(1/2)*(g*x+f)^(1/2)*((((-a*c)^(1/2)*d*g+(-a*c)^(1/2)*e*f-a*e*g+c*d*f)/c)^(1/2)*ln((c*d*g*x+c*e*f*x
-2*(-a*c)^(1/2)*e*g*x+2*c*d*f+2*((e*x+d)*(g*x+f))^(1/2)*(-((-a*c)^(1/2)*d*g+(-a*c)^(1/2)*e*f+a*e*g-c*d*f)/c)^(
1/2)*c-(-a*c)^(1/2)*d*g-(-a*c)^(1/2)*e*f)/(c*x+(-a*c)^(1/2)))*a*c*d*g^2-(((-a*c)^(1/2)*d*g+(-a*c)^(1/2)*e*f-a*
e*g+c*d*f)/c)^(1/2)*(-a*c)^(1/2)*ln((c*d*g*x+c*e*f*x-2*(-a*c)^(1/2)*e*g*x+2*c*d*f+2*((e*x+d)*(g*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(-a*c)^(1/2)*d*g+(-a*c)^(1/2)*e*f+2*((e*x+d)*(g*x+f))^(1/2)*(((-a*c)^(1/2)*d*
g+(-a*c)^(1/2)*e*f-a*e*g+c*d*f)/c)^(1/2)*c+2*c*d*f)/(c*x-(-a*c)^(1/2)))*a*e*g^2-(-((-a*c)^(1/2)*d*g+(-a*c)^(1/
2)*e*f+a*e*g-c*d*f)/c)^(1/2)*ln((2*(-a*c)^(1/2)*e*g*x+c*d*g*x+c*e*f*x+(-a*c)^(1/2)*d*g+(-a*c)^(1/2)*e*f+2*((e*
x+d)*(g*x+f))^(1/2)*(((-a*c)^(1/2)*d*g+(-a*c)^(1/2)*e*f-a*e*g+c*d*f)/c)^(1/2)*c+2*c*d*f)/(c*x-(-a*c)^(1/2)))*c
^2*d*f^2-(-((-a*c)^(1/2)*d*g+(-a*c)^(1/2)*e*f+a*e*g-c*d*f)/c)^(1/2)*(-a*c)^(1/2)*ln((2*(-a*c)^(1/2)*e*g*x+c*d*
g*x+c*e*f*x+(-a*c)^(1/2)*d*g+(-a*c)^(1/2)*e*f+2*((e*x+d)*(g*x+f))^(1/2)*(((-a*c)^(1/2)*d*g+(-a*c)^(1/2)*e*f-a*
e*g+c*d*f)/c)^(1/2)*c+2*c*d*f)/(c*x-(-a*c)^(1/2)))*c*e*f^2)/((e*x+d)*(g*x+f))^(1/2)/(g*(-a*c)^(1/2)+c*f)/(-a*c
)^(1/2)/(((-a*c)^(1/2)*d*g+(-a*c)^(1/2)*e*f-a*e*g+c*d*f)/c)^(1/2)/(c*f-g*(-a*c)^(1/2))/(-((-a*c)^(1/2)*d*g+(-a
*c)^(1/2)*e*f+a*e*g-c*d*f)/c)^(1/2)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)^(1/2)/(c*x^2+a)/(g*x+f)^(1/2),x, algorithm="maxima")

[Out]

integrate(sqrt(x*e + d)/((c*x^2 + a)*sqrt(g*x + f)), x)

________________________________________________________________________________________

Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 1929 vs. \(2 (182) = 364\).
time = 19.96, size = 1929, normalized size = 8.04 \begin {gather*} -\frac {1}{4} \, \sqrt {-\frac {c d f + a g e + {\left (a c^{2} f^{2} + a^{2} c g^{2}\right )} \sqrt {-\frac {d^{2} g^{2} - 2 \, d f g e + f^{2} e^{2}}{a c^{3} f^{4} + 2 \, a^{2} c^{2} f^{2} g^{2} + a^{3} c g^{4}}}}{a c^{2} f^{2} + a^{2} c g^{2}}} \log \left (-\frac {2 \, d g^{2} x e + d^{2} g^{2} + 2 \, {\left (c d f g - c f^{2} e - {\left (a c^{2} f^{2} g + a^{2} c g^{3}\right )} \sqrt {-\frac {d^{2} g^{2} - 2 \, d f g e + f^{2} e^{2}}{a c^{3} f^{4} + 2 \, a^{2} c^{2} f^{2} g^{2} + a^{3} c g^{4}}}\right )} \sqrt {g x + f} \sqrt {x e + d} \sqrt {-\frac {c d f + a g e + {\left (a c^{2} f^{2} + a^{2} c g^{2}\right )} \sqrt {-\frac {d^{2} g^{2} - 2 \, d f g e + f^{2} e^{2}}{a c^{3} f^{4} + 2 \, a^{2} c^{2} f^{2} g^{2} + a^{3} c g^{4}}}}{a c^{2} f^{2} + a^{2} c g^{2}}} - {\left (2 \, f g x + f^{2}\right )} e^{2} + {\left (2 \, c^{2} d f^{3} + 2 \, a c d f g^{2} + {\left (c^{2} f^{3} + a c f g^{2}\right )} x e + {\left (c^{2} d f^{2} g + a c d g^{3}\right )} x\right )} \sqrt {-\frac {d^{2} g^{2} - 2 \, d f g e + f^{2} e^{2}}{a c^{3} f^{4} + 2 \, a^{2} c^{2} f^{2} g^{2} + a^{3} c g^{4}}}}{x}\right ) + \frac {1}{4} \, \sqrt {-\frac {c d f + a g e + {\left (a c^{2} f^{2} + a^{2} c g^{2}\right )} \sqrt {-\frac {d^{2} g^{2} - 2 \, d f g e + f^{2} e^{2}}{a c^{3} f^{4} + 2 \, a^{2} c^{2} f^{2} g^{2} + a^{3} c g^{4}}}}{a c^{2} f^{2} + a^{2} c g^{2}}} \log \left (-\frac {2 \, d g^{2} x e + d^{2} g^{2} - 2 \, {\left (c d f g - c f^{2} e - {\left (a c^{2} f^{2} g + a^{2} c g^{3}\right )} \sqrt {-\frac {d^{2} g^{2} - 2 \, d f g e + f^{2} e^{2}}{a c^{3} f^{4} + 2 \, a^{2} c^{2} f^{2} g^{2} + a^{3} c g^{4}}}\right )} \sqrt {g x + f} \sqrt {x e + d} \sqrt {-\frac {c d f + a g e + {\left (a c^{2} f^{2} + a^{2} c g^{2}\right )} \sqrt {-\frac {d^{2} g^{2} - 2 \, d f g e + f^{2} e^{2}}{a c^{3} f^{4} + 2 \, a^{2} c^{2} f^{2} g^{2} + a^{3} c g^{4}}}}{a c^{2} f^{2} + a^{2} c g^{2}}} - {\left (2 \, f g x + f^{2}\right )} e^{2} + {\left (2 \, c^{2} d f^{3} + 2 \, a c d f g^{2} + {\left (c^{2} f^{3} + a c f g^{2}\right )} x e + {\left (c^{2} d f^{2} g + a c d g^{3}\right )} x\right )} \sqrt {-\frac {d^{2} g^{2} - 2 \, d f g e + f^{2} e^{2}}{a c^{3} f^{4} + 2 \, a^{2} c^{2} f^{2} g^{2} + a^{3} c g^{4}}}}{x}\right ) - \frac {1}{4} \, \sqrt {-\frac {c d f + a g e - {\left (a c^{2} f^{2} + a^{2} c g^{2}\right )} \sqrt {-\frac {d^{2} g^{2} - 2 \, d f g e + f^{2} e^{2}}{a c^{3} f^{4} + 2 \, a^{2} c^{2} f^{2} g^{2} + a^{3} c g^{4}}}}{a c^{2} f^{2} + a^{2} c g^{2}}} \log \left (-\frac {2 \, d g^{2} x e + d^{2} g^{2} + 2 \, {\left (c d f g - c f^{2} e + {\left (a c^{2} f^{2} g + a^{2} c g^{3}\right )} \sqrt {-\frac {d^{2} g^{2} - 2 \, d f g e + f^{2} e^{2}}{a c^{3} f^{4} + 2 \, a^{2} c^{2} f^{2} g^{2} + a^{3} c g^{4}}}\right )} \sqrt {g x + f} \sqrt {x e + d} \sqrt {-\frac {c d f + a g e - {\left (a c^{2} f^{2} + a^{2} c g^{2}\right )} \sqrt {-\frac {d^{2} g^{2} - 2 \, d f g e + f^{2} e^{2}}{a c^{3} f^{4} + 2 \, a^{2} c^{2} f^{2} g^{2} + a^{3} c g^{4}}}}{a c^{2} f^{2} + a^{2} c g^{2}}} - {\left (2 \, f g x + f^{2}\right )} e^{2} - {\left (2 \, c^{2} d f^{3} + 2 \, a c d f g^{2} + {\left (c^{2} f^{3} + a c f g^{2}\right )} x e + {\left (c^{2} d f^{2} g + a c d g^{3}\right )} x\right )} \sqrt {-\frac {d^{2} g^{2} - 2 \, d f g e + f^{2} e^{2}}{a c^{3} f^{4} + 2 \, a^{2} c^{2} f^{2} g^{2} + a^{3} c g^{4}}}}{x}\right ) + \frac {1}{4} \, \sqrt {-\frac {c d f + a g e - {\left (a c^{2} f^{2} + a^{2} c g^{2}\right )} \sqrt {-\frac {d^{2} g^{2} - 2 \, d f g e + f^{2} e^{2}}{a c^{3} f^{4} + 2 \, a^{2} c^{2} f^{2} g^{2} + a^{3} c g^{4}}}}{a c^{2} f^{2} + a^{2} c g^{2}}} \log \left (-\frac {2 \, d g^{2} x e + d^{2} g^{2} - 2 \, {\left (c d f g - c f^{2} e + {\left (a c^{2} f^{2} g + a^{2} c g^{3}\right )} \sqrt {-\frac {d^{2} g^{2} - 2 \, d f g e + f^{2} e^{2}}{a c^{3} f^{4} + 2 \, a^{2} c^{2} f^{2} g^{2} + a^{3} c g^{4}}}\right )} \sqrt {g x + f} \sqrt {x e + d} \sqrt {-\frac {c d f + a g e - {\left (a c^{2} f^{2} + a^{2} c g^{2}\right )} \sqrt {-\frac {d^{2} g^{2} - 2 \, d f g e + f^{2} e^{2}}{a c^{3} f^{4} + 2 \, a^{2} c^{2} f^{2} g^{2} + a^{3} c g^{4}}}}{a c^{2} f^{2} + a^{2} c g^{2}}} - {\left (2 \, f g x + f^{2}\right )} e^{2} - {\left (2 \, c^{2} d f^{3} + 2 \, a c d f g^{2} + {\left (c^{2} f^{3} + a c f g^{2}\right )} x e + {\left (c^{2} d f^{2} g + a c d g^{3}\right )} x\right )} \sqrt {-\frac {d^{2} g^{2} - 2 \, d f g e + f^{2} e^{2}}{a c^{3} f^{4} + 2 \, a^{2} c^{2} f^{2} g^{2} + a^{3} c g^{4}}}}{x}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)^(1/2)/(c*x^2+a)/(g*x+f)^(1/2),x, algorithm="fricas")

[Out]

-1/4*sqrt(-(c*d*f + a*g*e + (a*c^2*f^2 + a^2*c*g^2)*sqrt(-(d^2*g^2 - 2*d*f*g*e + f^2*e^2)/(a*c^3*f^4 + 2*a^2*c
^2*f^2*g^2 + a^3*c*g^4)))/(a*c^2*f^2 + a^2*c*g^2))*log(-(2*d*g^2*x*e + d^2*g^2 + 2*(c*d*f*g - c*f^2*e - (a*c^2
*f^2*g + a^2*c*g^3)*sqrt(-(d^2*g^2 - 2*d*f*g*e + f^2*e^2)/(a*c^3*f^4 + 2*a^2*c^2*f^2*g^2 + a^3*c*g^4)))*sqrt(g
*x + f)*sqrt(x*e + d)*sqrt(-(c*d*f + a*g*e + (a*c^2*f^2 + a^2*c*g^2)*sqrt(-(d^2*g^2 - 2*d*f*g*e + f^2*e^2)/(a*
c^3*f^4 + 2*a^2*c^2*f^2*g^2 + a^3*c*g^4)))/(a*c^2*f^2 + a^2*c*g^2)) - (2*f*g*x + f^2)*e^2 + (2*c^2*d*f^3 + 2*a
*c*d*f*g^2 + (c^2*f^3 + a*c*f*g^2)*x*e + (c^2*d*f^2*g + a*c*d*g^3)*x)*sqrt(-(d^2*g^2 - 2*d*f*g*e + f^2*e^2)/(a
*c^3*f^4 + 2*a^2*c^2*f^2*g^2 + a^3*c*g^4)))/x) + 1/4*sqrt(-(c*d*f + a*g*e + (a*c^2*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f^2*e^2)/(a*c^3*f^4 + 2*a^
2*c^2*f^2*g^2 + a^3*c*g^4)))/(a*c^2*f^2 + a^2*c*g^2)) - (2*f*g*x + f^2)*e^2 - (2*c^2*d*f^3 + 2*a*c*d*f*g^2 + (
c^2*f^3 + a*c*f*g^2)*x*e + (c^2*d*f^2*g + a*c*d*g^3)*x)*sqrt(-(d^2*g^2 - 2*d*f*g*e + f^2*e^2)/(a*c^3*f^4 + 2*a
^2*c^2*f^2*g^2 + a^3*c*g^4)))/x) + 1/4*sqrt(-(c*d*f + a*g*e - (a*c^2*f^2 + a^2*c*g^2)*sqrt(-(d^2*g^2 - 2*d*f*g
*e + f^2*e^2)/(a*c^3*f^4 + 2*a^2*c^2*f^2*g^2 + a^3*c*g^4)))/(a*c^2*f^2 + a^2*c*g^2))*log(-(2*d*g^2*x*e + d^2*g
^2 - 2*(c*d*f*g - c*f^2*e + (a*c^2*f^2*g + a^2*c*g^3)*sqrt(-(d^2*g^2 - 2*d*f*g*e + f^2*e^2)/(a*c^3*f^4 + 2*a^2
*c^2*f^2*g^2 + a^3*c*g^4)))*sqrt(g*x + f)*sqrt(x*e + d)*sqrt(-(c*d*f + a*g*e - (a*c^2*f^2 + a^2*c*g^2)*sqrt(-(
d^2*g^2 - 2*d*f*g*e + f^2*e^2)/(a*c^3*f^4 + 2*a^2*c^2*f^2*g^2 + a^3*c*g^4)))/(a*c^2*f^2 + a^2*c*g^2)) - (2*f*g
*x + f^2)*e^2 - (2*c^2*d*f^3 + 2*a*c*d*f*g^2 + (c^2*f^3 + a*c*f*g^2)*x*e + (c^2*d*f^2*g + a*c*d*g^3)*x)*sqrt(-
(d^2*g^2 - 2*d*f*g*e + f^2*e^2)/(a*c^3*f^4 + 2*a^2*c^2*f^2*g^2 + a^3*c*g^4)))/x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {d + e x}}{\left (a + c x^{2}\right ) \sqrt {f + g x}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)**(1/2)/(c*x**2+a)/(g*x+f)**(1/2),x)

[Out]

Integral(sqrt(d + e*x)/((a + c*x**2)*sqrt(f + g*x)), x)

________________________________________________________________________________________

Giac [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)^(1/2)/(c*x^2+a)/(g*x+f)^(1/2),x, algorithm="giac")

[Out]

Timed out

________________________________________________________________________________________

Mupad [F(-1)]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \text {Hanged} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d + e*x)^(1/2)/((f + g*x)^(1/2)*(a + c*x^2)),x)

[Out]

\text{Hanged}

________________________________________________________________________________________